//
//  ViewController.m
//  motai
//
//  Created by lanou3g on 16/8/17.
//  Copyright © 2016年 SOND. All rights reserved.
//

#import "ViewController.h"
#import "FirstViewController.h"
@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor whiteColor];
    
    
    
}

//点击屏幕调用此方法
-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{
    FirstViewController *first  = [[FirstViewController alloc]init];
    [self presentViewController:first animated:YES completion:^{
        NSLog(@"present successful, viewController to FirstviewContrller");
    }];
    
}
@end
